package com.dyoud.api.shop.employee.dto;

import java.io.Serializable;
import java.util.Date;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotBlank;

/**
 * @author
 */
public class EmployeeDto implements Serializable {

    /***
     * 员工id
     */
    private Long employeeId;

    /**
     * 员工姓名
     */
    @NotBlank(message = "员工姓名不能为空！")
    private String name;

    /**
     * 密码
     */
    @NotBlank(message = "员工密码不能为空")
    private String password;

    /**
     * 手机号
     */
    @NotBlank(message = "员工手机号不能为空")
    private String phone;

    /**
     * 操作员类别 1:管理员 2:操作员
     */
    @NotNull(message = "员工操作员类别不能为空")
    private Integer type;

    /**
     * 是否禁用 0:否 1:是
     */
    private Integer isEnable;
    /**
     * 是否禁用 0:否 1:是
     */ 
    private Integer isDel;

    /**
     * 备注
     */
    private String remark;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 身份证号码
     */
    @NotBlank(message = "员工身份证号码不能为空")
    private String idCardNo;

    /**
     * 店铺ID
     */
    @NotNull(message = "店铺id不能为空")
    private Long shopId;

    private static final long serialVersionUID = 1L;

    public Long getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Long employeeId) {
        this.employeeId = employeeId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getIsEnable() {
        return isEnable;
    }

    public void setIsEnable(Integer isEnable) {
        this.isEnable = isEnable;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getIdCardNo() {
        return idCardNo;
    }

    public void setIdCardNo(String idCardNo) {
        this.idCardNo = idCardNo;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }
}